import {PointerPosition} from "../@types/index";

/**
 * 鼠标位置
 * @param event
 */
export const getPointerPosition = (event:MouseEvent):PointerPosition => {
    return {
        x:event?.pageX,
        y:event?.pageY
    }
}
